import request from '@/utils/request'
const FACEAPIURL = '/plan-producer-server'

//项目办公及生活设备设施配置策划表

/**
 * 编辑项目办公及生活设备设施配置策划表
 * @param data
 */
export function planProjectTaxManagementPlanUpdateByEntity(data) {
    return request({
        url: `${FACEAPIURL}/planProjectTaxManagementPlan/updateByEntity`,
        method: 'post',
        data
    })
}
/**
 * 查看 项目办公及生活设备设施配置策划表
 * @param data
 */
 export function getPlanProjectTaxManagementPlanById(data) {
     let version = data.version?`?version=${data.version}`:'';
    return request({
        url: `${FACEAPIURL}/planProjectTaxManagementPlan/getPlanProjectTaxManagementPlanById?planId=${data.planId}${version}`,
        method: 'post',
        data
    })
}